var path = $("#path").val();
var imgYes = "<img src='"+path+"/static/images/y.png' width='15px'/>";
var imgNo = "<img src='"+path+"/static/images/n.png' width='15px'/>";

function validateTip(element,css,tipString,status) {
    element.css(css);
    element.html(tipString);
    element.prev().attr("validateStatus",status);
}